package com.yqg.education.mapper;

import com.yqg.education.entity.SendAnnounce;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张芸博
 * @since 2025-04-10
 */
@Mapper
public interface SendAnnounceMapper extends BaseMapper<SendAnnounce> {
List<SendAnnounce> page(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize , @Param("title") String title);
    Long findCount(String title);

    SendAnnounce stuFindSendAnnounceContent(@Param("announceId") Integer announceId, @Param("userId") Integer userId);
}
